<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.zzuli.dcxt.entiy.Admin" %><%--
  Created by IntelliJ IDEA.
  User: 14408
  Date: 2022/1/4
  Time: 19:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0">
<%--<%! Admin admin=null;%>--%>
<%--<%  admin=(Admin) session.getAttribute("adminLogin");%>--%>
<div align="center">
    <table style="border-style: dotted; border-width: 1px" width="100%">
        <tr><td><img src="http://localhost:8080/img/tpbg.jpg" height="100" width="100%"></td></tr>
        <tr>
            <td align="center" valign="top">
                <table width="100%">
                    <tr><td align="center" bgcolor="#C0C0C0">
                        <table>
                            <tr>
                                <td><a href="http://localhost:8080/booklist.jsp" target="iframe_a">菜品管理|</a></td>
                                <td><a href="http://localhost:8080/catelist.do" target="iframe_a">菜品类别管理|</a></td>
<%--                                <td><a href="http://localhost:8080/nutrition_list.jsp" target="iframe_a">营养小贴士管理|</a></td>--%>
                                <td><a href="http://localhost:8080/adminlist.do" target="iframe_a">员工管理|</a></td>
<%--                                <td><a href="http://localhost:8080/leave_word.jsp" target="iframe_a">留言管理|</a></td>--%>
<%--                                <td><a href="http://localhost:8080/stock_list.jsp" target="iframe_a">采购管理|</a></td>--%>
<%--                                <td><a href="http://localhost:8080/order2.jsp" target="iframe_a">销售订单查询|</a></td>--%>
                                <td><a href="http://localhost:8080/pageUserPage.do?pageIndex=1" target="iframe_a">会员管理|</a></td>
                                <td><a href="http://localhost:8080/userlist.do" target="iframe_a">用户管理|</a></td>
                                <td><a href="http://localhost:8080/adminLogin.jsp">管理员登录|</a></td>
                                <td><a href="http://localhost:8080/login.jsp">会员登录|</a></td>
                                <td><a href="http://localhost:8080/regist11.jsp">会员注册|</a></td>
                            </tr>
                        </table>
                    </td></tr>
                </table>
            </td>
        </tr>
    </table>
</div>
<%--<c:if test="${not empty sessionScope.adminLogin}">--%>
<%--    <iframe src="/booklist.jsp" name="iframe_a" width="100%" height="80%"></iframe>--%>
<%--</c:if>--%>
<%--&lt;%&ndash;<iframe src="/tishi.jsp" name="iframe_a" width="100%" height="80%"></iframe>&ndash;%&gt;--%>

<c:choose>
    <c:when test="${not empty sessionScope.adminLogin}">
        <iframe src="/booklist.jsp" name="iframe_a" width="100%" height="80%"></iframe>
    </c:when>

    <c:otherwise>
        <iframe src="/tishi.jsp" name="iframe_a" width="100%" height="80%"></iframe>
    </c:otherwise>
</c:choose>


</body>
</html>
